package com.lbc.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author xyl
 * @date 2021-03-18 17:44
 */
@Data
public class DonateProjectDetailVO {
    private Integer donateProjectId;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("大图url")
    private String mainPic;
    @ApiModelProperty("描述")
    private String description;
    @ApiModelProperty("详情")
    private String detail;
    @ApiModelProperty("捐赠对象")
    private String donateObject;
    @ApiModelProperty("目标金额")
    private Float goalMoney;
    @ApiModelProperty("当前金额")
    private Float currentMoney;
    @JsonFormat(pattern="yyyy/MM/dd" ,  timezone="GMT+8")
    @ApiModelProperty("截止时间")
    private Date deadline;


    @ApiModelProperty("捐赠次数")
    private Integer donateCount;
    @ApiModelProperty("最高捐赠")
    private Float maxDonateMoney;

    List<DonateInfoVO> donateInfo;

    @ApiModelProperty("是否截至")
    private boolean state;
}
